package examples.animation;

import graphic.animation.Animations;
import model.Coordinate;
import model.entity.AnimatedEntity2D;

/**
 * Entita' animata di esempio.
 * @author Jan
 *
 */
public class TestAnimatedEntity extends AnimatedEntity2D {

	public TestAnimatedEntity(int entityID, Coordinate coordinate, int shiftAmount) {
		super(entityID, coordinate, shiftAmount);
		
		setAnimation( Animations.USER_SHIP_FLY);
		setAutoUpdate(true);
		setUpdateDelay(50);
	}

	@Override
	public boolean perform() {
		return false;
	}
	
	
	@Override
	public boolean haveChild() {
		return false;
	}
}
